import service from '@/utils/service'

export function getData(id,parser) {
    return service({
        url:`/index_list/${id}/data/1`,
        parser
    })
}

//获取navbar
export function getList(parser) {
    return service({
        url:`/index_list/0/data/1`,
        parser
    })
}

//获取billData
export function getBill(params) {
    return service({
        url:'/index_list/search',
        params
    })
}


//获取listData
export function getListData(params) {
    return service({
        url:'/index_list/list',
        params
    })
}

//获取details信息
export function getDetails(id,params) {
    return service({
        url:`/index_list/0/detail/${id}`,
        params
    })
}